package com.wxq.dbtest.mongodb.service;

import com.wxq.dbtest.mongodb.entity.Student;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;


/**
 * @author Farben
 */
@Repository
public interface StudentService extends MongoRepository<Student, String> {

    Student getAllByStudentName(String studentName);


}
